package com.daxt.common.result;

import java.util.List;


public class PageUtil {
	public static   <T> PageInfo<T> data(Long pages,Long pageNum,Long total,List<T> list) {
		PageInfo<T> info = new PageInfo<T>();
		info.setPages(pages);
		info.setPageNum(pageNum);
		info.setTotal(total);
		info.setList(list);
		return info;
	}
}
